package com.xh.bussiness.exam.service;



import com.xh.bussiness.exam.bean.request.ExerciseRequest;
import com.xh.bussiness.exam.bean.request.StudentExerciseRequest;
import com.xh.bussiness.exam.model.Exercise;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课堂练习记录表 服务类
 * </p>
 *
 * @author Pitt Cheung
 * @since 2021-08-26
 */
public interface IExerciseService extends IBaseService<Exercise> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryExercisePage(XhPage page, ExerciseRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryExercise(ExerciseRequest bean);

    XhPage<ExerciseRequest> selectExercisePage(XhPage<ExerciseRequest> page, ExerciseRequest bean);

    String selectAttendanceRate(ExerciseRequest exerciseRequest);

    List<String> queryCurrIdsEvaluation(String classIds);
}
